egl: Move initialization code and port Wayland
authorBenjamin Otte <otte@redhat.com>
Sun, 3 Oct 2021 04:22:21 +0000 (06:22 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 6 Oct 2021 01:43:47 +0000 (03:43 +0200)
commitbfb158d773bc686a014cc818985bf99aff347b17
tree402d91e2aac7db5d762be22d1baf4ad752627c06
parentae8de7168ad9ff86b51939d873ff475d77091f30
egl: Move initialization code and port Wayland

Moves the EGL initialization code to gdk/ so it can be shared between
backends.

Also port the Wayland backend to this code, so I know that it works.
gdk/gdkdisplay.c
gdk/gdkdisplayprivate.h
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdksurface-wayland.c